.class Lcom/estrongs/android/ui/dialog/t0$r;
.super Ljava/lang/Object;
.source "PropertyDialog.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/ui/dialog/t0;->b(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/t0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/t0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->v:Landroid/app/Dialog;

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/t0;->v:Landroid/app/Dialog;

    invoke-virtual {p1}, Landroid/app/Dialog;->dismiss()V

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 4
    invoke-virtual {p1}, Landroid/app/Activity;->isFinishing()Z

    move-result v0

    if-nez v0, :cond_2

    invoke-static {}, Lcom/estrongs/android/pop/esclasses/ESActivity;->z()Landroid/app/Activity;

    move-result-object v0

    if-eq v0, p1, :cond_1

    goto :goto_0

    .line 5
    :cond_1
    invoke-static {}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->a1()Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    .line 6
    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->R()V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {v0}, Lcom/estrongs/android/ui/dialog/t0;->a(Lcom/estrongs/android/ui/dialog/t0;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->h(Ljava/lang/String;)Lcom/estrongs/android/view/FileGridViewWrapper;

    goto :goto_1

    .line 8
    :cond_2
    :goto_0
    new-instance p1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {v0}, Lcom/estrongs/android/ui/dialog/t0;->n(Lcom/estrongs/android/ui/dialog/t0;)Landroid/content/Context;

    move-result-object v0

    const-class v1, Lcom/estrongs/android/pop/view/FileExplorerActivity;

    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-static {v0}, Lcom/estrongs/android/ui/dialog/t0;->a(Lcom/estrongs/android/ui/dialog/t0;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 10
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/t0$r;->a:Lcom/estrongs/android/ui/dialog/t0;

    invoke-virtual {v0}, Lcom/estrongs/android/view/h0;->h()Landroid/app/Activity;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :goto_1
    return-void
.end method
